<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
    <title>FeHelper网页截屏工具</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="index.css"/>
    <script type="text/javascript" src="../static/vendor/evalCore.min.js"></script>
    <script type="text/javascript" src="../static/vendor/vue/vue.js"></script>
</head>
<body>

<div class="wrapper" id="pageContainer">
    <div class="panel panel-default" style="margin-bottom: 0px;">
        <div class="panel-heading">
            <h3 class="panel-title">
                <a href="https://www.baidufe.com/fehelper/index/index.html" target="_blank" class="x-a-high">
                    <img src="../static/img/fe-16.png" alt="fehelper"/> FeHelper</a>：网页截屏工具
                    <span class="x-switch ui-fl-r">Tips：从右键菜单进行网页截屏，效果更佳！（初次安装可能需要重启浏览器哦~~~）</span>
            </h3>
        </div>
    </div>

    <div class="panel-body">
        <div class="row" ref="resultBox" >
            <h5 class="x-title c-d">&gt;&gt;&nbsp;完整截图
                <input id="btnSave" class="btn btn-warning btn-sm ui-fl-r" type="button" value="保存图片到本地" @click="save">
            </h5>
            <div class="panel panel-default img-container" id="imageEditor">
                <canvas :width="totalWidth" :height="totalHeight"></canvas>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="index.js"></script>
</body>
</html>
